class CreateDiscountFoods < ActiveRecord::Migration[5.0]
  def change
    create_table :discount_foods do |t|
      t.integer :food_id
      t.integer :restaurant_id
      t.float :discount,default: 0.5
      t.integer :limit_sell,default: 1

      t.timestamps
    end
  end
end
